<?php
namespace app\mp\admin;

use app\system\admin\Admin;
use app\common\service\OrderMaterial as OrderMaterialService;
use app\common\service\Material as MaterialService;
use app\common\service\Order as OrderService;
use app\common\service\StockLog as StockLogService;
use app\common\service\Stock as StockService;
use app\mp\admin\Distributing as DistributingAction;
use app\common\service\Sku as SkuService;
use app\common\service\DistributingFeed as DistributingFeedService;
use app\common\service\MaterialReturn as MaterialReturnService;
use Endroid\QrCode\QrCode;

/**
 * 营收报表-销售与成本
 * @author sparkguo
 * @date 2022/11/12
 */
class revenue extends Admin{

    public function initialize() {
        parent::initialize();
    }
    
    /**
     *销售收入报表
     * @author: sparkguo
     * @Date: 2022/11/12 11:44
     */
    public function salesList(){
        return 111;
    }
    
    /**
     *收支管理列表，及导入功能
     * @author: sparkguo
     * @Date: 2022/11/12 17:37
     */
    public function incomeOutList(){
        $action = $this->request->param('action/s','');
        $selfSku    = $this->request->param('self_sku/s');
        $searchData = $this->request->request();
        ;
        
    }

    /**
     *成本分摊报表
     * @author: sparkguo
     * @Date: 2022/11/12 11:51
     */
    public function costAvgList(){
        $action = $this->request->param('action/s', '');
        $selfSku = $this->request->param('self_sku/s');
        $searchData = $this->request->request();
        print_r($action);

    }
    
    /**
     *订单利润报表
     * @author: sparkguo
     * @Date: 2022/11/12 12:03
     */
    public function orderProfitsList(){
        $action = $this->request->param('action/s','');
        $selfSku    = $this->request->param('self_sku/s');
        $searchData = $this->request->request();
        print_r('111');
        
    }
    
    /**
     *工厂月度营收报表
     * @author: sparkguo
     * @Date: 2022/11/12 13:44
     */
    public function factoryMonthRevenueList(){
        $action = $this->request->param('action/s','');
        $selfSku    = $this->request->param('self_sku/s');
        $searchData = $this->request->request();
        echo '111';
    }

}